Pagini recente » Borderou de evaluare (job #2647317) | Borderou de evaluare (job #1441711) | Borderou de evaluare (job #2900454) | Borderou de evaluare (job #2597143) | Borderou de evaluare (job #1231898)
Borderou de evaluare (job #1231898)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bancomat.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bancomat.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:11:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=6;i++) scanf("%d", &a[i]);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); ok=true;
^
user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
user.cpp:21:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
if (val[i]>0) {gets(s); ok=false;}
^
/tmp/ccQ6ECUH.o: In function `main':
user.cpp:(.text.startup+0x2d9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 84ms | 308kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | Depăşit | 300kb | Time limit exceeded. | 0 |
3 | 88ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 188ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 200ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 96ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 144ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 84ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 244ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 284ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |