Pagini recente » Borderou de evaluare (job #2105723) | Borderou de evaluare (job #2506227) | Borderou de evaluare (job #81254) | Borderou de evaluare (job #1725550) | Borderou de evaluare (job #1363099)
Borderou de evaluare (job #1363099)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.in","r",stdin);
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.out","w",stdout);
^
user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&n,&m,&l);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); nr=0; s[0]='1';
^
user.cpp:40:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccrJ2ekm.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 24ms | 656kb | OK | 10 |
5 | 44ms | 1172kb | OK | 10 |
6 | 72ms | 1492kb | OK | 10 |
7 | 88ms | 1744kb | OK | 10 |
8 | 92ms | 1744kb | OK | 10 |
9 | 132ms | 2256kb | OK | 10 |
10 | 136ms | 2256kb | OK | 10 |
Punctaj total | 100 |