Pagini recente » Borderou de evaluare (job #2612390) | Borderou de evaluare (job #2463305) | Borderou de evaluare (job #403444) | Borderou de evaluare (job #1256777) | Borderou de evaluare (job #2490058)
Borderou de evaluare (job #2490058)
Raport evaluator
Compilare:
main.cpp: In function 'int32_t main()':
main.cpp:39:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:42:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&nr);
^
main.cpp:63:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", ans);
^
main.cpp:36:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in", "r", stdin);
^
main.cpp:37:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out", "w", stdout);
^
main.cpp:39:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:42:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 3ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |