Pagini recente » Borderou de evaluare (job #4545) | Borderou de evaluare (job #2929980) | Borderou de evaluare (job #3251522) | Borderou de evaluare (job #3282533) | Borderou de evaluare (job #1200050)
Borderou de evaluare (job #1200050)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s);
^
user.cpp:17:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s);
^
user.cpp:21:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); x=0;
^
/tmp/cc2DkHyM.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 2780kb | OK | 10 |
2 | 0ms | 508kb | OK | 10 |
3 | 0ms | 740kb | OK | 10 |
4 | 0ms | 1056kb | OK | 10 |
5 | 36ms | 8160kb | OK | 10 |
6 | 24ms | 6408kb | OK | 10 |
7 | Depăşit | 7416kb | Time limit exceeded. | 0 |
8 | 16ms | 2764kb | OK | 10 |
9 | 236ms | 8064kb | OK | 10 |
10 | 192ms | 7716kb | OK | 10 |
Punctaj total | 90 |