Pagini recente » Borderou de evaluare (job #2707590) | Borderou de evaluare (job #2096116) | Borderou de evaluare (job #2707592) | Borderou de evaluare (job #2707577) | Borderou de evaluare (job #2707580)
Borderou de evaluare (job #2707580)
Raport evaluator
Compilare:
main.cpp: In function 'void Citeste()':
main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d%d",&N,&M);
^
main.cpp:23:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d%d%d",&x,&y,&dist);
^
main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:27:38: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=]
main.cpp: In function 'void Afiseaza()':
main.cpp:36:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(g,"%d ",D[i]);
^
main.cpp: In function 'void Citeste()':
main.cpp:23:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&N,&M);
^
main.cpp:27:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&x,&y,&dist);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 1310kb | OK | 10 |
| 2 | 4ms | 1310kb | OK | 10 |
| 3 | 6ms | 1441kb | OK | 10 |
| 4 | 7ms | 1441kb | OK | 10 |
| 5 | 31ms | 2097kb | OK | 10 |
| 6 | 58ms | 2883kb | OK | 10 |
| 7 | 75ms | 3276kb | OK | 10 |
| 8 | 142ms | 5353kb | OK | 10 |
| 9 | 83ms | 4456kb | Killed by Signal 11 | 0 |
| 10 | 266ms | 8781kb | Killed by Signal 11 | 0 |
| Punctaj total | 80 |