Pagini recente » Borderou de evaluare (job #1054465) | Borderou de evaluare (job #793203) | Borderou de evaluare (job #2427765) | Borderou de evaluare (job #1506597) | Borderou de evaluare (job #1638911)
Borderou de evaluare (job #1638911)
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:107: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/cc3AblO2.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 | 444kb | OK | 10 |
2 | 0ms | 444kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 444kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 0ms | 448kb | OK | 10 |
7 | 0ms | 448kb | OK | 10 |
8 | 0ms | 448kb | OK | 10 |
9 | 0ms | 448kb | OK | 10 |
10 | 0ms | 444kb | OK | 10 |
Punctaj total | 80 |