Pagini recente » Borderou de evaluare (job #1439491) | Borderou de evaluare (job #2844062) | Borderou de evaluare (job #2825151) | Borderou de evaluare (job #198758) | Borderou de evaluare (job #1449289)
Borderou de evaluare (job #1449289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:42:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:43:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n1);
^
user.cpp:45:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1);
^
user.cpp:60:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n2);
^
user.cpp:63:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); ss=s; nr=0;
^
/tmp/ccCIREuM.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1508kb | OK | 10 |
2 | 12ms | 6404kb | OK | 10 |
3 | 32ms | 8548kb | OK | 10 |
4 | 176ms | 21296kb | OK | 10 |
5 | Depăşit | 29648kb | Time limit exceeded. | 0 |
6 | Depăşit | 29500kb | Time limit exceeded. | 0 |
7 | Depăşit | 38892kb | Time limit exceeded. | 0 |
8 | Depăşit | 39944kb | Time limit exceeded. | 0 |
9 | Depăşit | 39668kb | Time limit exceeded. | 0 |
10 | Depăşit | 39420kb | Time limit exceeded. | 0 |
Punctaj total | 40 |