Pagini recente » Borderou de evaluare (job #854240) | Borderou de evaluare (job #3273963) | Borderou de evaluare (job #2145859) | Borderou de evaluare (job #3240010) | Borderou de evaluare (job #1684931)
Borderou de evaluare (job #1684931)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mz.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mz.out","w",stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:25:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:25:21:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccoOoix6.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 364kb | Ok! | 10 |
2 | 0ms | 568kb | Zgomot maxim gresit. | 2 |
3 | 0ms | 828kb | Zgomot maxim gresit. | 2 |
4 | 0ms | 816kb | Ok! | 10 |
5 | 40ms | 2544kb | Zgomot maxim gresit. | 2 |
6 | 48ms | 2356kb | Ok! | 10 |
7 | 12ms | 840kb | Ok! | 10 |
8 | 192ms | 5440kb | Ok! | 10 |
9 | 184ms | 5456kb | Ok! | 10 |
10 | 208ms | 5440kb | Ok! | 10 |
Punctaj total | 76 |