Pagini recente » Borderou de evaluare (job #1214153) | Borderou de evaluare (job #2178942) | Borderou de evaluare (job #1447623) | Borderou de evaluare (job #396830) | Borderou de evaluare (job #1816014)
Borderou de evaluare (job #1816014)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &k);
^
user.cpp:30:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld", x*x);
^
user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in", "r", stdin);
^
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out", "w", stdout);
^
user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &k);
^
user.cpp: In function ‘long long int find(long long int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1708kb | OK | 10 |
2 | 20ms | 1700kb | OK | 10 |
3 | 24ms | 1704kb | OK | 10 |
4 | 24ms | 1704kb | OK | 10 |
5 | 24ms | 1704kb | OK | 10 |
6 | 24ms | 1708kb | Incorect | 0 |
7 | 24ms | 1704kb | Incorect | 0 |
8 | 24ms | 1704kb | Incorect | 0 |
9 | 28ms | 1700kb | Incorect | 0 |
10 | 28ms | 1700kb | Incorect | 0 |
Punctaj total | 50 |