Pagini recente » Borderou de evaluare (job #1288824) | Borderou de evaluare (job #1439480) | Borderou de evaluare (job #3170221) | Borderou de evaluare (job #1829889) | Borderou de evaluare (job #1461155)
Borderou de evaluare (job #1461155)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d%d", &puncte[0].x, &puncte[0].y);
^
user.cpp:57:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:63:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%d%d", &puncte[i].x, &puncte[i].y);
^
user.cpp:63:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:54:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &n, &m);
^
user.cpp:57:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &puncte[0].x, &puncte[0].y);
^
user.cpp:63:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &puncte[i].x, &puncte[i].y);
^
user.cpp:78:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 8ms | 280kb | Incorect | 0 |
3 | 32ms | 348kb | OK | 10 |
4 | 88ms | 540kb | OK | 10 |
5 | 260ms | 1736kb | Incorect | 0 |
6 | 24ms | 308kb | OK | 10 |
7 | 292ms | 1748kb | Incorect | 0 |
8 | 316ms | 1812kb | Incorect | 0 |
9 | 320ms | 1820kb | Incorect | 0 |
10 | 332ms | 1824kb | Incorect | 0 |
Punctaj total | 40 |