Pagini recente »
Borderou de evaluare (job #256414)
|
Borderou de evaluare (job #575293)
|
Borderou de evaluare (job #165403)
|
Borderou de evaluare (job #16436)
|
Borderou de evaluare (job #626574)
Borderou de evaluare (job #626574)
Raport evaluator
Compilare:
main.c:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
1 | #pragma warning(disable: 4996)
|
main.c: In function 'main':
main.c:44:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
44 | fprintf(fout, "%lld\n%d %d\n", val1, 1, pozlast);
| ~~~^ ~~~~
| | |
| | int
| long long int
| %d
main.c:46:35: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
46 | fprintf(fout, "%lld\n%d %d\n", val2, negfirst + 1, neglast);
| ~~~^ ~~~~
| | |
| | int
| long long int
| %d
main.c:10:54: warning: unused variable 'exist' [-Wunused-variable]
10 | int n, i, pozlast, negfirst, neglast, enter, exist, val1, val2;
| ^~~~~
main.c:10:47: warning: unused variable 'enter' [-Wunused-variable]
10 | int n, i, pozlast, negfirst, neglast, enter, exist, val1, val2;
| ^~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:20:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin, "%lld", &v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
2
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
3
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
4
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
5
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
6
|
2 ms
|
114 kb
|
Energie incorecta
|
0
|
7
|
2 ms
|
110 kb
|
Energie incorecta
|
0
|
8
|
1 ms
|
118 kb
|
Killed by Signal 8
|
0
|
9
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
10
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
11
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
12
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
13
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
14
|
1 ms
|
114 kb
|
Energie incorecta
|
0
|
15
|
1 ms
|
245 kb
|
Energie incorecta
|
0
|
16
|
6 ms
|
245 kb
|
Energie incorecta
|
0
|
17
|
1 ms
|
245 kb
|
Energie incorecta
|
0
|
18
|
1 ms
|
245 kb
|
Energie incorecta
|
0
|
19
|
1 ms
|
249 kb
|
Energie incorecta
|
0
|
20
|
1 ms
|
249 kb
|
Energie incorecta
|
0
|
Punctaj total
|
0
|