Pagini recente » Borderou de evaluare (job #1773603) | Borderou de evaluare (job #1210691) | Cod sursa (job #2702194) | Borderou de evaluare (job #2279880) | Borderou de evaluare (job #1258757)
Borderou de evaluare (job #1258757)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;++i) scanf("%d",&cost[i]);
^
user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK! | 10 |
2 | 0ms | 284kb | Timpul minim nu e ok! | 6 |
3 | 0ms | 292kb | Gresit! | 0 |
4 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 348kb | Gresit! | 0 |
6 | 0ms | 344kb | Gresit! | 0 |
7 | 0ms | 280kb | OK! | 10 |
8 | 0ms | 296kb | OK! | 10 |
9 | 0ms | 296kb | OK! | 10 |
10 | 0ms | 284kb | OK! | 10 |
Punctaj total | 56 |