Pagini recente » Borderou de evaluare (job #1290201) | Borderou de evaluare (job #1996425) | Borderou de evaluare (job #1579602) | Borderou de evaluare (job #1385090) | Borderou de evaluare (job #2206378)
Borderou de evaluare (job #2206378)
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 | 1960ms | 1244kb | Incorect | 0 |
2 | 2588ms | 1248kb | Incorect | 0 |
3 | 2428ms | 1244kb | Incorect | 0 |
4 | 2316ms | 1244kb | OK | 20 |
5 | 2028ms | 1244kb | Incorect | 0 |
Punctaj total | 20 |