Pagini recente » Borderou de evaluare (job #170943) | Cod sursa (job #1457905) | Cod sursa (job #761075) | Cod sursa (job #74810) | Borderou de evaluare (job #1733999)
Borderou de evaluare (job #1733999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld", &n, &p);
^
user.cpp:18:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:20:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", lgput(n, p) % 1999999973);
^
user.cpp: In function ‘long long int lgput(long long int, long long int)’:
user.cpp:12:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in", "r", stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out", "w", stdout);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 10 |