Pagini recente » Borderou de evaluare (job #1421100) | Borderou de evaluare (job #1858332) | Monitorul de evaluare | Borderou de evaluare (job #1641808) | Borderou de evaluare (job #1638941)
Borderou de evaluare (job #1638941)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vecini2.in", "r", stdin);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:11:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:12:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vecini2.out", "w", stdout);
^
/tmp/ccbyMbAF.o: In function `read()':
user.cpp:(.text+0x44): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 432kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 0ms | 448kb | OK | 10 |
| 6 | 0ms | 444kb | OK | 10 |
| 7 | 0ms | 448kb | OK | 10 |
| 8 | 0ms | 452kb | OK | 10 |
| 9 | 0ms | 448kb | OK | 10 |
| 10 | 0ms | 448kb | OK | 10 |
| Punctaj total | 100 |