Pagini recente » Borderou de evaluare (job #1140005) | Borderou de evaluare (job #1170476) | Borderou de evaluare (job #3251231) | Borderou de evaluare (job #2142793) | Borderou de evaluare (job #2151236)
Borderou de evaluare (job #2151236)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carici.in", "r", stdin);
^
user.cpp:33:34: 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:34:36: 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:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cnt);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dep);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1256kb | OK! | 10 |
2 | 0ms | 1256kb | Gresit! | 3 |
3 | 0ms | 1256kb | OK! | 10 |
4 | 0ms | 1252kb | Gresit! | 3 |
5 | 0ms | 1284kb | OK! | 10 |
6 | 12ms | 1288kb | OK! | 10 |
7 | 0ms | 1256kb | OK! | 10 |
8 | 0ms | 1260kb | OK! | 10 |
9 | 0ms | 1264kb | OK! | 10 |
10 | 0ms | 1252kb | OK! | 10 |
Punctaj total | 86 |