Pagini recente » Borderou de evaluare (job #459745) | Borderou de evaluare (job #340451) | Cod sursa (job #607289) | Borderou de evaluare (job #778142) | Borderou de evaluare (job #1284030)
Borderou de evaluare (job #1284030)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare()’:
user.cpp:130:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", cost);
^
user.cpp:133:56: warning: unknown conversion type character ‘l’ in format [-Wformat=]
fprintf(fout, "%Lld %d\n", G[A[i]].x, G[A[i]].y);
^
user.cpp:133:56: warning: too many arguments for format [-Wformat-extra-args]
user.cpp: In function ‘void citire()’:
user.cpp:120:33: 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:122:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d %d %d", &G[i].x, &G[i].y, &G[i].c);
^
user.cpp: In function ‘int main()’:
user.cpp:43:17: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
++nr;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 8ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 8ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 8ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 8ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 84ms | 1760kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 124ms | 2496kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 36ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 44ms | 988kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 120ms | 2424kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |