Pagini recente » Borderou de evaluare (job #942482) | Borderou de evaluare (job #57354) | Borderou de evaluare (job #946914) | Borderou de evaluare (job #942484) | Borderou de evaluare (job #1632167)
Borderou de evaluare (job #1632167)
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 | 40ms | 1216kb | Primul numar corect | 1 |
| 2 | 0ms | 440kb | OK | 5 |
| 3 | 36ms | 1220kb | Primul numar corect | 1 |
| 4 | 36ms | 1224kb | Primul numar corect | 1 |
| 5 | 0ms | 444kb | Primul numar corect | 1 |
| 6 | 0ms | 436kb | Primul numar corect | 1 |
| 7 | 0ms | 440kb | OK | 5 |
| 8 | 0ms | 444kb | Primul numar corect | 1 |
| 9 | 12ms | 440kb | Primul numar corect | 1 |
| 10 | 16ms | 828kb | OK | 5 |
| 11 | 0ms | 456kb | Primul numar corect | 1 |
| 12 | 32ms | 1068kb | Primul numar corect | 1 |
| 13 | 28ms | 1044kb | Primul numar corect | 1 |
| 14 | 0ms | 456kb | Primul numar corect | 1 |
| 15 | 0ms | 440kb | Primul numar corect | 1 |
| 16 | 0ms | 444kb | Primul numar corect | 1 |
| 17 | 40ms | 1220kb | Primul numar corect | 1 |
| 18 | 40ms | 1216kb | Primul numar corect | 1 |
| 19 | 28ms | 1084kb | Primul numar corect | 1 |
| 20 | 0ms | 440kb | OK | 5 |
| Punctaj total | 36 |