Pagini recente » Atasamentele paginii Poze preONI 2007 - deschidere | Statistici Ion Pop (dogdog) | Cod sursa (job #1773721) | Autentificare | Borderou de evaluare (job #2021036)
Borderou de evaluare (job #2021036)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:28:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", v[n]-v[1]);
^
user.cpp: In function ‘void read()’:
user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &k);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kcover.in", "r", stdin);
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kcover.out", "w", stdout);
^
user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 444kb | Incorect | 0 | 0 |
2 | 12ms | 652kb | OK | 25 |
3 | 292ms | 2108kb | OK | 25 |
4 | Depăşit | 2112kb | Time limit exceeded. | 0 |
Punctaj total | 0 |