Pagini recente » Borderou de evaluare (job #2603866) | Borderou de evaluare (job #2668001) | Borderou de evaluare (job #315016) | Borderou de evaluare (job #582250) | Borderou de evaluare (job #1200149)
Borderou de evaluare (job #1200149)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18: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:19: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:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:26:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/ccTZMRns.o: In function `main':
user.cpp:(.text.startup+0xd6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 308kb | Incorect | 0 |
3 | 0ms | 380kb | Incorect | 0 |
4 | 0ms | 556kb | Incorect | 0 |
5 | 8ms | 884kb | Incorect | 0 |
6 | 16ms | 1408kb | Incorect | 0 |
7 | 20ms | 2472kb | Incorect | 0 |
8 | 16ms | 1652kb | Incorect | 0 |
9 | 20ms | 2320kb | Incorect | 0 |
10 | 16ms | 1052kb | Incorect | 0 |
Punctaj total | 10 |