Pagini recente » Borderou de evaluare (job #1794052) | Borderou de evaluare (job #2378660) | Borderou de evaluare (job #1936088) | Borderou de evaluare (job #2592532) | Borderou de evaluare (job #1887975)
Borderou de evaluare (job #1887975)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &Q); Q; --Q)
^
user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
/tmp/cc6WkWzC.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 4ms | 588kb | Killed by signal 6(SIGABRT). | 0 |
4 | 4ms | 592kb | Killed by signal 6(SIGABRT). | 0 |
5 | 4ms | 588kb | Killed by signal 6(SIGABRT). | 0 |
6 | 4ms | 584kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 588kb | Killed by signal 6(SIGABRT). | 0 |
8 | 4ms | 588kb | Killed by signal 6(SIGABRT). | 0 |
9 | 4ms | 584kb | Killed by signal 6(SIGABRT). | 0 |
10 | 4ms | 592kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 20 |