Pagini recente » Borderou de evaluare (job #1471035) | Borderou de evaluare (job #2199521) | Borderou de evaluare (job #292045) | Borderou de evaluare (job #1850363) | Borderou de evaluare (job #1449306)
Borderou de evaluare (job #1449306)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39: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:40: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:41:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n1);
^
user.cpp:43: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:58:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n2);
^
user.cpp:60:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); ss=s; nr=0;
^
/tmp/ccjUWolt.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1568kb | OK | 10 |
2 | 12ms | 6468kb | OK | 10 |
3 | 32ms | 8596kb | OK | 10 |
4 | 180ms | 21348kb | OK | 10 |
5 | Depăşit | 29176kb | Time limit exceeded. | 0 |
6 | Depăşit | 29164kb | Time limit exceeded. | 0 |
7 | Depăşit | 38684kb | Time limit exceeded. | 0 |
8 | Depăşit | 39072kb | Time limit exceeded. | 0 |
9 | Depăşit | 38676kb | Time limit exceeded. | 0 |
10 | Depăşit | 39216kb | Time limit exceeded. | 0 |
Punctaj total | 40 |