Pagini recente » Borderou de evaluare (job #42050) | Borderou de evaluare (job #1921270) | Borderou de evaluare (job #2700957) | Borderou de evaluare (job #1206077) | Borderou de evaluare (job #1929002)
Borderou de evaluare (job #1929002)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:27: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘unsigned int*’ [-Wformat=]
scanf("%hd", &V[i]);
^
user.cpp:15:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (V[i] > maxx) maxx = V[i];
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &m, &n);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &V[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 572kb | Time limit exceeded. | 0 |
2 | 20ms | 556kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 300kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 90 |