Pagini recente » Cod sursa (job #2586610) | Borderou de evaluare (job #810192) | Borderou de evaluare (job #177505) | Borderou de evaluare (job #1982701) | Borderou de evaluare (job #1297503)
Borderou de evaluare (job #1297503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:28:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &V[i]);
^
user.cpp:52:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 664ms | 408kb | OK | 10 |
4 | 636ms | 300kb | OK | 10 |
5 | 84ms | 868kb | OK | 10 |
6 | 44ms | 868kb | OK | 10 |
7 | 740ms | 864kb | OK | 10 |
8 | 740ms | 868kb | OK | 10 |
9 | 740ms | 868kb | OK | 10 |
10 | 732ms | 872kb | OK | 10 |
Punctaj total | 100 |