Pagini recente » Borderou de evaluare (job #2820984) | Borderou de evaluare (job #2345291) | Borderou de evaluare (job #163585) | Borderou de evaluare (job #2524854) | Borderou de evaluare (job #2511296)
Borderou de evaluare (job #2511296)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d",&n);
^
main.cpp:24:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d%d",&x,&y);
^
main.cpp:24:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:38: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]);
^
main.cpp:22:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
main.cpp:24: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 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 44ms | 626kb | OK | 10 |
6 | 57ms | 729kb | OK | 10 |
7 | 63ms | 917kb | OK | 10 |
8 | 90ms | 1048kb | OK | 10 |
9 | 128ms | 1241kb | OK | 10 |
10 | 89ms | 1179kb | OK | 10 |
Punctaj total | 100 |