Pagini recente » Borderou de evaluare (job #2190413) | Borderou de evaluare (job #754068) | Borderou de evaluare (job #1854535) | Borderou de evaluare (job #963559) | Borderou de evaluare (job #2243726)
Borderou de evaluare (job #2243726)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf( "%d%d%d%d", &n, &k, &a, &b );
^
user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf( "%d\n", ans );
^
user.cpp:14:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d%d%d", &n, &k, &a, &b );
^
user.cpp:17:26: 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 | 16ms | 1332kb | OK | 10 |
2 | 12ms | 1340kb | OK | 10 |
3 | 16ms | 1436kb | OK | 10 |
4 | 24ms | 1716kb | OK | 10 |
5 | 44ms | 2104kb | OK | 10 |
6 | 36ms | 2468kb | Wall time limit exceeded. | 0 |
7 | 44ms | 2116kb | Wall time limit exceeded. | 0 |
8 | 36ms | 2180kb | Wall time limit exceeded. | 0 |
9 | 32ms | 2100kb | Wall time limit exceeded. | 0 |
10 | 44ms | 2096kb | Wall time limit exceeded. | 0 |
Punctaj total | 50 |