Pagini recente » Borderou de evaluare (job #1016322) | Borderou de evaluare (job #1492274) | Borderou de evaluare (job #602425) | Borderou de evaluare (job #1806892) | Borderou de evaluare (job #1782510)
Borderou de evaluare (job #1782510)
Raport evaluator
Compilare:
user.cpp: In function ‘int NumarulMaximDePuncteColiniare(std::vector<std::pair<long int, long int> >&, int)’:
user.cpp:34:62: warning: NULL used in arithmetic [-Wpointer-arith]
panta[pantaPuncte] = ( panta[pantaPuncte] == NULL ) ? 2 : ++panta[pantaPuncte];
^
user.cpp: In function ‘void CitirePuncte(std::vector<std::pair<long int, long int> >&, int)’:
user.cpp:17:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &puncte[i].first, &puncte[i].second);
^
user.cpp: In function ‘void ProcesareTeste(int)’:
user.cpp:47:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarPuncte);
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:60:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numarTeste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 512kb | Time limit exceeded. | 0 |
Punctaj total | 0 |