Pagini recente » Borderou de evaluare (job #1855734) | Borderou de evaluare (job #78891) | Borderou de evaluare (job #2332384) | Borderou de evaluare (job #2178144) | Borderou de evaluare (job #1632157)
Borderou de evaluare (job #1632157)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d S\n",s-s1);
^
user.cpp:41:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if (s1+v[i].vol<s) fprintf(g,"%d S",s-s1-v[i].vol);
^
user.cpp:42:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else if (s1+v[i].vol>s) fprintf(g,"%d D",s1+v[i].vol-s);
^
user.cpp:47:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d D\n%d D",s1-s,s1+v[i].vol-s);
^
user.cpp:47:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:51:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if (s1+v[i].vol<s) fprintf(g,"0 S\n%d S",s-s1-v[i].vol);
^
user.cpp:52:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(g,"0 D\n%d D",s1+v[i].vol-s);
^
user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&n);
^
user.cpp:19:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld%c%c%c",&x,&c1,&c2,&c3);
^
user.cpp:33:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 588kb | Time limit exceeded. | 0 |
2 | 0ms | 440kb | OK | 5 |
3 | 40ms | 1216kb | Primul numar corect | 1 |
4 | Depăşit | 596kb | Time limit exceeded. | 0 |
5 | 0ms | 440kb | Primul numar corect | 1 |
6 | 0ms | 440kb | Primul numar corect | 1 |
7 | 0ms | 444kb | OK | 5 |
8 | 0ms | 444kb | Primul numar corect | 1 |
9 | Depăşit | 536kb | Time limit exceeded. | 0 |
10 | 16ms | 832kb | OK | 5 |
11 | 0ms | 460kb | Primul numar corect | 1 |
12 | Depăşit | 592kb | Time limit exceeded. | 0 |
13 | Depăşit | 588kb | Time limit exceeded. | 0 |
14 | 0ms | 448kb | Primul numar corect | 1 |
15 | 0ms | 444kb | Primul numar corect | 1 |
16 | 0ms | 440kb | OK | 5 |
17 | Depăşit | 588kb | Time limit exceeded. | 0 |
18 | Depăşit | 592kb | Time limit exceeded. | 0 |
19 | Depăşit | 592kb | Time limit exceeded. | 0 |
20 | 0ms | 444kb | OK | 5 |
Punctaj total | 32 |