Pagini recente » Borderou de evaluare (job #1178465) | Borderou de evaluare (job #2008649) | Borderou de evaluare (job #1060409) | Borderou de evaluare (job #111212) | Borderou de evaluare (job #1900236)
Borderou de evaluare (job #1900236)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(int i = 1; i<= p; ++i) scanf("%d %d", &d[i], &c[i]);
^
user.cpp:20:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:17:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:18:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:19:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd", &n, &p, &k);
^
user.cpp:20:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i<= p; ++i) scanf("%d %d", &d[i], &c[i]);
^
user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 476kb | Incorect | 0 |
3 | 84ms | 512kb | OK | 10 |
4 | Depăşit | 500kb | Time limit exceeded. | 0 |
5 | 12ms | 508kb | Incorect | 0 |
6 | 0ms | 476kb | OK | 10 |
7 | 4ms | 484kb | OK | 10 |
8 | 0ms | 476kb | OK | 10 |
9 | 40ms | 504kb | OK | 10 |
10 | Depăşit | 504kb | Time limit exceeded. | 0 |
Punctaj total | 60 |