Pagini recente » Borderou de evaluare (job #731560) | Borderou de evaluare (job #2157385) | Borderou de evaluare (job #463273) | Borderou de evaluare (job #463289) | Borderou de evaluare (job #2248358)
Borderou de evaluare (job #2248358)
Raport evaluator
Compilare:
user.cpp: In function ‘void cerinta2()’:
user.cpp:77:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < drepte[i].IndiciPunctePeDreapta.size() - 1; j++){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:80:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t = j + 1; t < drepte[i].IndiciPunctePeDreapta.size(); t++){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘void citire()’:
user.cpp:40:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:43:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &puncte[i].x, &puncte[i].y, &puncte[i].raza);
^
user.cpp: In function ‘int main()’:
user.cpp:113:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in", "r", stdin);
^
user.cpp:114:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1372kb | Ultimele doua valori gresite! | 2 |
| 2 | 0ms | 1372kb | Ultimele doua valori gresite! | 2 |
| 3 | 0ms | 1372kb | Ultimele doua valori gresite! | 2 |
| 4 | 0ms | 1380kb | Ultimele doua valori gresite! | 2 |
| 5 | 0ms | 1388kb | Ultimele doua valori gresite! | 2 |
| 6 | 4ms | 1404kb | Ultimele doua valori gresite! | 2 |
| 7 | 4ms | 1408kb | Ultimele doua valori gresite! | 2 |
| 8 | 4ms | 1420kb | Ultimele doua valori gresite! | 2 |
| 9 | 4ms | 1416kb | A doua valoare gresita! | 5 |
| 10 | 0ms | 1364kb | Ultimele doua valori gresite! | 2 |
| Punctaj total | 23 |