Pagini recente » Borderou de evaluare (job #2844304) | Borderou de evaluare (job #1330976) | Borderou de evaluare (job #960319) | Borderou de evaluare (job #2240892) | Borderou de evaluare (job #1213679)
Borderou de evaluare (job #1213679)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:63:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 8ms | 376kb | OK | 10 |
4 | 44ms | 724kb | OK | 10 |
5 | 56ms | 880kb | OK | 10 |
6 | 72ms | 1036kb | OK | 10 |
7 | Depăşit | 1780kb | Time limit exceeded. | 0 |
8 | Depăşit | 1784kb | Time limit exceeded. | 0 |
9 | Depăşit | 1776kb | Time limit exceeded. | 0 |
10 | Depăşit | 1776kb | Time limit exceeded. | 0 |
Punctaj total | 60 |