Pagini recente » Borderou de evaluare (job #2406228) | Borderou de evaluare (job #2365056) | Borderou de evaluare (job #1500229) | Borderou de evaluare (job #2318591) | Borderou de evaluare (job #1782619)
Borderou de evaluare (job #1782619)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:66: warning: NULL used in arithmetic [-Wpointer-arith]
panta[pantaPuncte] = ( panta[pantaPuncte] == NULL ) ? 2 : ++panta[pantaPuncte];
^
user.cpp:13: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:14: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:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarTeste);
^
user.cpp:22:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarPuncte);
^
user.cpp:31:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &puncte[i].first, &puncte[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 160ms | 512kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |