Pagini recente » Borderou de evaluare (job #41982) | Borderou de evaluare (job #1627081) | Borderou de evaluare (job #1776176) | Borderou de evaluare (job #3130692) | Borderou de evaluare (job #1751115)
Borderou de evaluare (job #1751115)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.in", "r", stdin);
^
user.cpp:17:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poveste.out", "w", stdout);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:27:32: 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:30:27: 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:30:27:
/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/cciHX8sQ.o: In function `main':
user.cpp:(.text.startup+0x115): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 660kb | Time limit exceeded. | 0 | 0 |
2 | 0ms | 648kb | Incorect | 0 |
3 | Depăşit | 1908kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 1668kb | Time limit exceeded. | 0 |
5 | Depăşit | 2864kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 2888kb | Time limit exceeded. | 0 |
7 | Depăşit | 3380kb | Time limit exceeded. | 0 | 0 |
8 | 212ms | 3896kb | Incorect | 0 | 0 |
9 | 380ms | 5364kb | Incorect | 0 |
10 | Depăşit | 5344kb | Time limit exceeded. | 0 |
Punctaj total | 0 |