Pagini recente » Cod sursa (job #777928) | Borderou de evaluare (job #2214379) | Borderou de evaluare (job #1943713) | Monitorul de evaluare | Borderou de evaluare (job #2564125)
Borderou de evaluare (job #2564125)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:75:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&n,&m);
^
main.cpp:75:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:78:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d",&v[j]);
^
main.cpp:84:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d",&x);
^
main.cpp:89:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:89:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:91:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out,"%d\n",maximul);
^
main.cpp:94:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:94:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:75:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&n,&m);
^
main.cpp:78:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&v[j]);
^
main.cpp:84:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&x);
^
main.cpp:89:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:94:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&c,&d);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 12ms | 131kb | Incorect | 0 | 0 |
| 3 | 17ms | 262kb | OK | 10 | 10 |
| 4 | 50ms | 393kb | Incorect | 0 | 0 |
| 5 | 71ms | 2883kb | Incorect | 0 | 0 |
| 6 | 88ms | 3014kb | OK | 10 | 0 |
| 7 | 216ms | 3670kb | Incorect | 0 |
| 8 | 182ms | 3276kb | Incorect | 0 |
| 9 | 203ms | 3276kb | OK | 10 |
| 10 | 185ms | 3407kb | OK | 10 |
| Punctaj total | 20 |