Pagini recente » Borderou de evaluare (job #490956) | Borderou de evaluare (job #1468085) | Borderou de evaluare (job #2511631) | Borderou de evaluare (job #1212942) | Borderou de evaluare (job #2046888)
Borderou de evaluare (job #2046888)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&x,&y);
^
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:36:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",optim[a[n].t2]);
^
user.cpp:20:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:22:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 24ms | 744kb | OK | 10 |
6 | 40ms | 900kb | OK | 10 |
7 | 64ms | 1096kb | OK | 10 |
8 | 80ms | 1208kb | OK | 10 |
9 | 88ms | 1288kb | OK | 10 |
10 | 88ms | 1288kb | OK | 10 |
Punctaj total | 100 |