Pagini recente » Borderou de evaluare (job #1457983) | Borderou de evaluare (job #2045) | Borderou de evaluare (job #185526) | Borderou de evaluare (job #164575) | Borderou de evaluare (job #1668144)
Borderou de evaluare (job #1668144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.in","r",stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.out","w",stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); int nr=0;
^
user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); int m=strlen(s+1);
^
/tmp/ccrhu87g.o: In function `main':
user.cpp:(.text.startup+0x96): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | 0ms | 612kb | OK | 10 |
5 | 0ms | 520kb | OK | 10 |
6 | 20ms | 1572kb | Incorect | 0 |
7 | 20ms | 1572kb | Incorect | 0 |
8 | 12ms | 1576kb | Incorect | 0 |
9 | 12ms | 1572kb | Incorect | 0 |
10 | 12ms | 1572kb | Incorect | 0 |
Punctaj total | 50 |