Pagini recente » Borderou de evaluare (job #566405) | Borderou de evaluare (job #361637) | Borderou de evaluare (job #1393716) | Borderou de evaluare (job #2127012) | Borderou de evaluare (job #1519282)
Borderou de evaluare (job #1519282)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d%c%c",&y,&u,&x);
^
user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",smax);
^
user.cpp:12:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&m);
^
user.cpp:15:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%c%c",&y,&u,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 12ms | 256kb | OK | 10 |
7 | 12ms | 260kb | OK | 10 |
8 | 16ms | 264kb | OK | 10 |
9 | 28ms | 256kb | OK | 10 |
10 | 36ms | 264kb | OK | 10 |
Punctaj total | 100 |