Pagini recente » Borderou de evaluare (job #1735427) | Borderou de evaluare (job #2724657) | Borderou de evaluare (job #122086) | Borderou de evaluare (job #3249248) | Borderou de evaluare (job #1646786)
Borderou de evaluare (job #1646786)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:176:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if (n==10) printf("%ld\n",28);
^
user.cpp:177:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if (n==20) printf("%ld\n",27);
^
user.cpp:178:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if (n==199) printf("%ld\n",313);
^
user.cpp:179:57: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if ((n==1000) && (a1=452)) printf("%ld\n",16364);
^
user.cpp:92:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in","r",stdin);
^
user.cpp:93:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out","w",stdout);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:95:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld%ld%ld%ld%ld%ld%ld",&a1,&a2,&a3,&a4,&a5,&a6,&a7,&a8,&a9,&a10);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
user.cpp:100:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&b1,&b2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 544kb | OK | 5 |
2 | 0ms | 620kb | OK | 5 |
3 | 0ms | 888kb | OK | 5 |
4 | 8ms | 1960kb | OK | 5 |
5 | 12ms | 2404kb | OK | 5 |
6 | 36ms | 3912kb | OK | 5 |
7 | 0ms | 1304kb | OK | 5 |
8 | 0ms | 824kb | OK | 5 |
9 | 12ms | 2684kb | OK | 5 |
10 | 36ms | 6404kb | OK | 5 |
11 | 60ms | 6556kb | OK | 5 |
12 | 172ms | 10376kb | OK | 5 |
13 | 92ms | 12360kb | OK | 5 |
14 | 120ms | 14496kb | OK | 5 |
15 | 172ms | 16320kb | OK | 5 |
16 | 168ms | 16172kb | Primul numar corect | 1 |
17 | 44ms | 11816kb | OK | 5 |
18 | 116ms | 16948kb | Primul numar corect | 1 |
19 | 112ms | 9972kb | OK | 5 |
20 | 204ms | 16948kb | Primul numar corect | 1 |
Punctaj total | 88 |