Pagini recente » Borderou de evaluare (job #2387787) | Borderou de evaluare (job #507710) | Borderou de evaluare (job #2387532) | Borderou de evaluare (job #1764310) | Borderou de evaluare (job #1449291)
Borderou de evaluare (job #1449291)
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/ccZmRazy.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 | 1504kb | OK | 10 |
2 | 12ms | 6408kb | OK | 10 |
3 | 32ms | 8548kb | OK | 10 |
4 | 176ms | 21296kb | OK | 10 |
5 | Depăşit | 29388kb | Time limit exceeded. | 0 |
6 | Depăşit | 30164kb | Time limit exceeded. | 0 |
7 | Depăşit | 39288kb | Time limit exceeded. | 0 |
8 | Depăşit | 38884kb | Time limit exceeded. | 0 |
9 | Depăşit | 39536kb | Time limit exceeded. | 0 |
10 | Depăşit | 38892kb | Time limit exceeded. | 0 |
Punctaj total | 40 |