Pagini recente » Borderou de evaluare (job #2899155) | Borderou de evaluare (job #2216132) | Borderou de evaluare (job #2795229) | Borderou de evaluare (job #2847700) | Borderou de evaluare (job #1449280)
Borderou de evaluare (job #1449280)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42: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:43: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:44:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n1);
^
user.cpp:46: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:61: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;
^
/tmp/ccPNGyuy.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1304kb | OK | 10 |
2 | 8ms | 3332kb | OK | 10 |
3 | 24ms | 4640kb | OK | 10 |
4 | 168ms | 17388kb | OK | 10 |
5 | Depăşit | 26004kb | Time limit exceeded. | 0 |
6 | Depăşit | 26256kb | Time limit exceeded. | 0 |
7 | Depăşit | 36564kb | Time limit exceeded. | 0 |
8 | Depăşit | 35900kb | Time limit exceeded. | 0 |
9 | Depăşit | 35364kb | Time limit exceeded. | 0 |
10 | Depăşit | 36440kb | Time limit exceeded. | 0 |
Punctaj total | 40 |