Pagini recente » Cod sursa (job #798367) | Borderou de evaluare (job #661953) | Cod sursa (job #604397) | Cod sursa (job #62053) | Borderou de evaluare (job #2558521)
Borderou de evaluare (job #2558521)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("concurs2.in", "r", stdin);
^
main.cpp:19:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("concurs2.out", "w", stdout);
^
main.cpp:23:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
main.cpp:25:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &jud);
^
main.cpp:27:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[jud][a[jud][0]]);
^
main.cpp:58:18: warning: 'poz2' may be used uninitialized in this function [-Wmaybe-uninitialized]
a[poz2][0]--;
~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 3ms | 262kb | OK | 10 |
| 8 | 3ms | 262kb | OK | 10 |
| 9 | 3ms | 262kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |