Pagini recente » Borderou de evaluare (job #1872739) | Borderou de evaluare (job #2686603) | Borderou de evaluare (job #2883925) | Borderou de evaluare (job #3179884) | Borderou de evaluare (job #1841455)
Borderou de evaluare (job #1841455)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.in", "r", stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort3.out", "w", stdout);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:24:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:24:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccPcTLAB.o: In function `main':
user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 500kb | OK | 5 |
| 2 | 0ms | 504kb | OK | 5 |
| 3 | 0ms | 668kb | OK | 5 |
| 4 | 0ms | 664kb | OK | 5 |
| 5 | 0ms | 588kb | OK | 5 |
| 6 | 0ms | 668kb | OK | 5 |
| 7 | Depăşit | 3604kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 3604kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3548kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2968kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 3492kb | Time limit exceeded. | 0 |
| 12 | 464ms | 2684kb | OK | 5 |
| 13 | Depăşit | 3096kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 3488kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 3612kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 3340kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 3604kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 3172kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 3320kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 3604kb | Time limit exceeded. | 0 |
| Punctaj total | 35 |