Pagini recente » Borderou de evaluare (job #1224439) | Borderou de evaluare (job #923669) | Borderou de evaluare (job #1323344) | Borderou de evaluare (job #596848) | Borderou de evaluare (job #1553168)
Borderou de evaluare (job #1553168)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:52:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccVYulrK.o: In function `main':
user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4368kb | OK | 10 |
2 | 12ms | 4364kb | OK | 10 |
3 | 12ms | 4380kb | OK | 10 |
4 | 36ms | 4820kb | OK | 10 |
5 | 20ms | 4464kb | OK | 10 |
6 | 28ms | 4608kb | OK | 10 |
7 | 60ms | 5020kb | OK | 10 |
8 | 80ms | 5332kb | OK | 10 |
9 | 16ms | 4428kb | OK | 10 |
10 | 12ms | 4368kb | OK | 10 |
Punctaj total | 100 |