Pagini recente » Borderou de evaluare (job #415046) | Borderou de evaluare (job #1289628) | Borderou de evaluare (job #1603863) | Borderou de evaluare (job #1258103) | Borderou de evaluare (job #1420120)
Borderou de evaluare (job #1420120)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:21:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
}printf("%d\n", c[n]*c[n]);
^
user.cpp:7:33: 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:8:37: 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:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 8ms | 264kb | OK | 10 |
5 | 16ms | 264kb | OK | 10 |
6 | Depăşit | 252kb | Time limit exceeded. | 0 |
7 | Depăşit | 248kb | Time limit exceeded. | 0 |
8 | Depăşit | 248kb | Time limit exceeded. | 0 |
9 | Depăşit | 252kb | Time limit exceeded. | 0 |
10 | Depăşit | 256kb | Time limit exceeded. | 0 |
Punctaj total | 50 |