Pagini recente » Borderou de evaluare (job #2855209) | Borderou de evaluare (job #2621923) | Borderou de evaluare (job #1823775) | Borderou de evaluare (job #1288431) | Borderou de evaluare (job #2104674)
Borderou de evaluare (job #2104674)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&l);
^
user.cpp:19:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccWUGPQH.o: In function `main':
user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 1152kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 32ms | 1156kb | OK | 10 |
6 | 32ms | 1156kb | OK | 10 |
7 | 36ms | 1152kb | OK | 10 |
8 | 32ms | 1148kb | OK | 10 |
9 | 32ms | 1148kb | OK | 10 |
10 | 32ms | 1156kb | OK | 10 |
Punctaj total | 100 |