Pagini recente » Borderou de evaluare (job #105086) | Borderou de evaluare (job #219412) | Borderou de evaluare (job #3145815) | Borderou de evaluare (job #2878067) | Borderou de evaluare (job #1718740)
Borderou de evaluare (job #1718740)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &t);
^
user.cpp:13:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:21:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d \n", ans);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.in", "r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.out", "w", stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 72ms | 288kb | OK | 10 |
2 | 72ms | 280kb | OK | 10 |
3 | 72ms | 284kb | OK | 10 |
4 | 68ms | 288kb | OK | 10 |
5 | 68ms | 292kb | OK | 10 |
6 | 72ms | 288kb | OK | 10 |
7 | 68ms | 284kb | OK | 10 |
8 | 68ms | 284kb | OK | 10 |
9 | 72ms | 288kb | OK | 10 |
10 | 72ms | 284kb | OK | 10 |
Punctaj total | 100 |