Pagini recente » Borderou de evaluare (job #2664534) | Borderou de evaluare (job #541064) | Borderou de evaluare (job #783777) | Borderou de evaluare (job #2180178) | Borderou de evaluare (job #1676770)
Borderou de evaluare (job #1676770)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:63:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:70:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:72:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccnbtc2q.o: In function `main':
user.cpp:(.text.startup+0x157): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 0ms | 296kb | OK | 10 |
| 5 | 12ms | 448kb | OK | 10 |
| 6 | 0ms | 272kb | Killed by signal 8(SIGFPE). | 0 |
| 7 | 56ms | 916kb | OK | 10 |
| 8 | 88ms | 1264kb | OK | 10 |
| 9 | 4ms | 328kb | OK | 10 |
| 10 | 4ms | 328kb | OK | 10 |
| Punctaj total | 90 |