Pagini recente » Borderou de evaluare (job #1949042) | Borderou de evaluare (job #2550487) | Borderou de evaluare (job #976579) | Borderou de evaluare (job #1336030) | Borderou de evaluare (job #1951189)
Borderou de evaluare (job #1951189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &n, &m);
^
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &a,&b);
^
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minuni.in", "r", stdin);
^
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minuni.out", "w", stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2624kb | OK | 10 |
2 | 4ms | 2640kb | OK | 10 |
3 | 4ms | 2636kb | OK | 10 |
4 | 84ms | 3148kb | OK | 10 |
5 | 112ms | 3484kb | OK | 10 |
6 | 168ms | 3672kb | OK | 10 |
7 | 200ms | 4264kb | OK | 10 |
8 | 220ms | 4348kb | OK | 10 |
9 | 288ms | 4516kb | OK | 10 |
10 | 272ms | 4512kb | OK | 10 |
Punctaj total | 100 |