Pagini recente » Borderou de evaluare (job #1726594) | Borderou de evaluare (job #2501708) | Borderou de evaluare (job #1415574) | Borderou de evaluare (job #1648359) | Borderou de evaluare (job #2206368)
Borderou de evaluare (job #2206368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%ld", &x);
^
user.cpp:28:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%ld", &x);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dtcsu.in", "r", stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dtcsu.out", "w", stdout);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld", &x);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &q);
^
user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1948ms | 1188kb | Incorect | 0 |
2 | 2844ms | 1184kb | Incorect | 0 |
3 | 2496ms | 1184kb | Incorect | 0 |
4 | 1888ms | 1188kb | OK | 20 |
5 | 2012ms | 1184kb | Incorect | 0 |
Punctaj total | 20 |