Pagini recente » Borderou de evaluare (job #134044) | Borderou de evaluare (job #1325902) | Borderou de evaluare (job #2523066) | Borderou de evaluare (job #719758) | Borderou de evaluare (job #1782645)
Borderou de evaluare (job #1782645)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:66: warning: NULL used in arithmetic [-Wpointer-arith]
panta[pantaPuncte] = ( panta[pantaPuncte] == NULL ) ? 2 : ++panta[pantaPuncte];
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.in", "r", stdin );
^
user.cpp:17:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.out", "w", stdout );
^
user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarTeste);
^
user.cpp:26:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarPuncte);
^
user.cpp:35:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &puncte[i].coordX, &puncte[i].coordY);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 160ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |