Pagini recente » Borderou de evaluare (job #2923165) | Borderou de evaluare (job #3284427) | Borderou de evaluare (job #1819033) | Borderou de evaluare (job #1874892) | Borderou de evaluare (job #1449283)
Borderou de evaluare (job #1449283)
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:62:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); ss=s; nr=0;
^
/tmp/ccTx5VIt.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 | 1320kb | OK | 10 |
| 2 | 8ms | 3352kb | OK | 10 |
| 3 | 24ms | 4648kb | OK | 10 |
| 4 | 168ms | 17404kb | OK | 10 |
| 5 | Depăşit | 25888kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 26008kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 36712kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 36044kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 35644kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 35528kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |