Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #268082) | Borderou de evaluare (job #3122023) | Cod sursa (job #2412693) | Borderou de evaluare (job #1640881)
Borderou de evaluare (job #1640881)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", nr); return 0;
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grigo.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grigo.out","w",stdout);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:12:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=m;i++) {scanf("%d", &x); fix[x]=true;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 4ms | 316kb | OK | 10 |
8 | 4ms | 332kb | OK | 10 |
9 | 8ms | 360kb | OK | 10 |
10 | 12ms | 380kb | OK | 10 |
Punctaj total | 100 |