Pagini recente » Borderou de evaluare (job #2663806) | Borderou de evaluare (job #2306953) | Borderou de evaluare (job #2975860) | Borderou de evaluare (job #3273332) | Borderou de evaluare (job #1231897)
Borderou de evaluare (job #1231897)
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/cc9c5cwz.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 | 304kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | Depăşit | 300kb | Time limit exceeded. | 0 |
3 | 88ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 192ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 196ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 92ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 144ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 80ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 244ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 284ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |