Pagini recente » Borderou de evaluare (job #2663741) | Borderou de evaluare (job #3272654) | Borderou de evaluare (job #2771470) | Borderou de evaluare (job #2835254) | Borderou de evaluare (job #1339672)
Borderou de evaluare (job #1339672)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc2Pbke1.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 316kb | Incorect | 0 |
3 | 0ms | 396kb | Incorect | 0 |
4 | 0ms | 496kb | Incorect | 0 |
5 | 8ms | 944kb | Incorect | 0 |
6 | 16ms | 912kb | Incorect | 0 |
7 | 12ms | 560kb | Incorect | 0 |
8 | 16ms | 908kb | Incorect | 0 |
9 | 12ms | 772kb | Incorect | 0 |
10 | 16ms | 1240kb | Incorect | 0 |
Punctaj total | 10 |