Pagini recente » Borderou de evaluare (job #1005629) | Borderou de evaluare (job #1834233) | Borderou de evaluare (job #2731352) | Borderou de evaluare (job #3265169) | Borderou de evaluare (job #1368237)
Borderou de evaluare (job #1368237)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld %ld %ld %ld",&x0,&a,&b,&m,&q);
^
user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:98:48: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:110:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld ",tmp);
^
user.cpp:116:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld ",tmp);
^
user.cpp:95:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.in","r",stdin);
^
user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.out","w",stdout);
^
user.cpp:98:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld %ld",&x0,&a,&b,&m,&q);
^
user.cpp: In member function ‘void bNumber::getFile()’:
user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 528kb | OK | 10 |
2 | 12ms | 528kb | OK | 10 |
3 | 8ms | 532kb | OK | 10 |
4 | Depăşit | 516kb | Time limit exceeded. | 0 |
5 | Depăşit | 512kb | Time limit exceeded. | 0 |
6 | Depăşit | 516kb | Time limit exceeded. | 0 |
7 | Depăşit | 516kb | Time limit exceeded. | 0 |
8 | Depăşit | 484kb | Time limit exceeded. | 0 |
9 | Depăşit | 516kb | Time limit exceeded. | 0 |
10 | Depăşit | 516kb | Time limit exceeded. | 0 |
Punctaj total | 30 |